Skip to content

Handle the insert of the maxSize(th) element for the first time and s…#5

Open
carlnayak wants to merge 1 commit intotmalaska:masterfrom
carlnayak:patch-2
Open

Handle the insert of the maxSize(th) element for the first time and s…#5
carlnayak wants to merge 1 commit intotmalaska:masterfrom
carlnayak:patch-2

Conversation

@carlnayak
Copy link

…ubsequent updates

When you insert the maxSize(th) value for the first time, update the lowest count and add the element as well.
When modifying the TopNList, just perform inplace updates instead of inserts

…ubsequent updates

When you insert the maxSize(th) value for the first time, update the lowest count and add the element as well.
When modifying the TopNList, just perform inplace updates instead of inserts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant